package com.parkclouds.busi;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;


@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class,
        DataSourceTransactionManagerAutoConfiguration.class
})
@ImportResource(value={"classpath:dubbo/dubbo-busi-consumer.xml","classpath:dubbo/dubbo-busi-provider.xml"})
@MapperScan({"com.parkclouds.busi.mapper"})
public class ParkcloudsBusiApplication {

    public static void main(String[] args) {
        SpringApplication.run(ParkcloudsBusiApplication.class, args);
    }

}
